import request from "@/utils/request";

export const uploadChunk = (formData: FormData) => {
  return request.post("/upload/chunk", formData);
};

export const mergeChunks = (option: MergeOptions) => {
  return request.post("/upload/merge", option, {
    headers: {
      "Content-Type": "application/json",
    },
  });
};

// export const verifyFile = (option: verifyOptions) => {
//   return request.post("/upload/verify", option);
// };
